<?php

Route::name('auth')
    ->prefix('auth')
    ->middleware(['auth:web',\App\SubApps\Account\Middleware\OauthAppMiddleware::class])
    ->group(function() {
        Route::any('/login-success', 'AuthController@loginSuccess')
            ->defaults('_view','auth.success')
            ->name('.login-success');
    });
